package com.cnswhy.cloud.server.system.service;

import com.cnswhy.cloud.common.core.base.service.SuperService;
import com.cnswhy.cloud.server.system.entity.Menu;
import com.cnswhy.cloud.server.system.entity.VueRouter;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 业务接口
 * 菜单表
 * </p>
 *
 * @author cnswhy
 * @date 2020-10-08
 */
public interface MenuService extends SuperService<Menu> {
    public String findUserPermissions(String username) ;
    public List<Menu> findUserMenus(String username);
    public List<VueRouter<Menu>> getUserRouters(String username);
    public Map<String, Object> findMenus(Menu menu);
}
